package org.demo.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
@Data
public class Contract {
    private String id;
    private String userId;
    private String houseId;
    private String intermediaryId;
    private LocalDate createTime;//签约时间
    private String content; //合同信息
    private LocalDate endTime;//到期时间
    private String landlordId;
    private BigDecimal intAmount;//服务费
    private BigDecimal  houseAmount;//房源费用
    private String status;//合同状态0未支付/1已生效/2已失效
}
